Notify properties on deletion in PasswordEntryBuffer
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 17 Dec 2020 15:01:35 +0000 (15:01 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 17 Dec 2020 15:01:35 +0000 (15:01 +0000)
commit1738724e4a9dfe8a8d3e8f7209e24c2afcf77560
tree55a53348a42ab4bcd12af0b693d3db442d4628c5
parent8a923e02a1d6fd3376de734d95b6923003425b82
Notify properties on deletion in PasswordEntryBuffer

The GtkEntryBufferClass.deleted_text() behaviour changed between GTK3
and GTK4, which means any subclass of GtkEntryBuffer is now responsible
for emitting the "notify" signal for the "text" and "length" properties.

Without this, the GtkText delegate widget used by GtkPasswordEntry would
not be able to communicate changes in the contents of its buffer.

Fixes: #3484
gtk/gtkpasswordentrybuffer.c